Add .dir-locals.el support for file-less buffers.
authorDan Nicolaescu <dann@ics.uci.edu>
Fri, 12 Mar 2010 08:04:54 +0000 (00:04 -0800)
committerDan Nicolaescu <dann@ics.uci.edu>
Fri, 12 Mar 2010 08:04:54 +0000 (00:04 -0800)
commit9b4633496627b44c251394149f8f40c9a6c8d61e
treee0ba9394b76b92bd2a441a957c232bf38623e079
parent686e37f1127d9fdcb8e3b84bb0f500572ff110a5
Add .dir-locals.el support for file-less buffers.
* files.el (hack-local-variables): Split out code to apply local
variable settings ...
(hack-local-variables-apply): ... here.  New function.
(hack-dir-local-variables): Use the default directory for when the
buffer does not have an associated file.
(hack-dir-local-variables-non-file-buffer): New function.
* diff-mode.el (diff-mode):
* vc-annotate.el (vc-annotate-mode):
* vc-dir.el (vc-dir-mode):
* log-edit.el (log-edit-mode):
* log-view.el (log-view-mode): Call hack-dir-local-variables-non-file-buffer.
etc/NEWS
lisp/ChangeLog
lisp/diff-mode.el
lisp/files.el
lisp/log-edit.el
lisp/log-view.el
lisp/vc-annotate.el
lisp/vc-dir.el